package com.example.listener.event;

import org.springframework.context.ApplicationEvent;

public class MyEvent extends ApplicationEvent {

    private Object data;

    public MyEvent(Object source,Object data) {
        super(source);
        this.data=data;
    }

    public Object getData(){
        return data;
    }

}
